package com.ropeok.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;

@Data
@NoArgsConstructor
public class User {
    private Long userid;
    private String username;
    private String password;
    private String creator;

    private String salt;

    private Date createTime;

    public User(Long userid, String username, String password, String creator) {
        this.userid = userid;
        this.username = username;
        this.password = password;
        this.creator = creator;
    }
}
